package com.example.pharmacypick.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


//封装返回的对象，增加一些其他的属性，如页数，页面大小等
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DataGridView {

    //总条数
    private Long count;

    //封装的对象
    private Object data;

    //信息
    private String msg;

    //code
    private Integer code;

    public DataGridView(Long count,Object data){
        this.count=count;
        this.data=data;
    }


}
